package com.gxa.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 * User: zdk
 * Date: 2021/12/09 18:54
 * Description:
 * Version: V1.0
 */
@ApiModel(value = "财务假合同信息录入实体类")
public class FContract {
    @ApiModelProperty(name = "contract_id",value = "主键编号",dataType = "Integer",required = true)
    private Integer contract_id;
    private String contract_no;
    private Integer customer_Id;
    private String order_id;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date contract_startday;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date contract_endday;
    private Double contract_summoney;
    private Double contract_debtmoney;
    private Double contract_receivemoney;
    private String contract_tax;
    private Integer contract_invoice;
    private String contract_comment;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date contract_enterday;
    private Integer employee_id;
    private Integer contract_part;
    private Customer customer;
    private Orders orders;
    private Contract_status contract_status;

    public Integer getContract_id() {
        return contract_id;
    }

    public void setContract_id(Integer contract_id) {
        this.contract_id = contract_id;
    }

    public String getContract_no() {
        return contract_no;
    }

    public void setContract_no(String contract_no) {
        this.contract_no = contract_no;
    }

    public Integer getCustomer_Id() {
        return customer_Id;
    }

    public void setCustomer_Id(Integer customer_Id) {
        this.customer_Id = customer_Id;
    }

    public String getOrder_id() {
        return order_id;
    }

    public void setOrder_id(String order_id) {
        this.order_id = order_id;
    }

    public Date getContract_startday() {
        return contract_startday;
    }

    public void setContract_startday(Date contract_startday) {
        this.contract_startday = contract_startday;
    }

    public Date getContract_endday() {
        return contract_endday;
    }

    public void setContract_endday(Date contract_endday) {
        this.contract_endday = contract_endday;
    }

    public Double getContract_summoney() {
        return contract_summoney;
    }

    public void setContract_summoney(Double contract_summoney) {
        this.contract_summoney = contract_summoney;
    }

    public Double getContract_debtmoney() {
        return contract_debtmoney;
    }

    public void setContract_debtmoney(Double contract_debtmoney) {
        this.contract_debtmoney = contract_debtmoney;
    }

    public Double getContract_receivemoney() {
        return contract_receivemoney;
    }

    public void setContract_receivemoney(Double contract_receivemoney) {
        this.contract_receivemoney = contract_receivemoney;
    }

    public String getContract_tax() {
        return contract_tax;
    }

    public void setContract_tax(String contract_tax) {
        this.contract_tax = contract_tax;
    }

    public Integer getContract_invoice() {
        return contract_invoice;
    }

    public void setContract_invoice(Integer contract_invoice) {
        this.contract_invoice = contract_invoice;
    }

    public String getContract_comment() {
        return contract_comment;
    }

    public void setContract_comment(String contract_comment) {
        this.contract_comment = contract_comment;
    }

    public Date getContract_enterday() {
        return contract_enterday;
    }

    public void setContract_enterday(Date contract_enterday) {
        this.contract_enterday = contract_enterday;
    }

    public Integer getEmployee_id() {
        return employee_id;
    }

    public void setEmployee_id(Integer employee_id) {
        this.employee_id = employee_id;
    }

    public Integer getContract_part() {
        return contract_part;
    }

    public void setContract_part(Integer contract_part) {
        this.contract_part = contract_part;
    }

    public Customer getCustomer() {
        return customer;
    }

    public void setCustomer(Customer customer) {
        this.customer = customer;
    }

    public Orders getOrders() {
        return orders;
    }

    public void setOrders(Orders orders) {
        this.orders = orders;
    }

    public Contract_status getContract_status() {
        return contract_status;
    }

    public void setContract_status(Contract_status contract_status) {
        this.contract_status = contract_status;
    }

    @Override
    public String toString() {
        return "FContract{" +
                "contract_id=" + contract_id +
                ", contract_no='" + contract_no + '\'' +
                ", customer_Id=" + customer_Id +
                ", order_id='" + order_id + '\'' +
                ", contract_startday=" + contract_startday +
                ", contract_endday=" + contract_endday +
                ", contract_summoney=" + contract_summoney +
                ", contract_debtmoney=" + contract_debtmoney +
                ", contract_receivemoney=" + contract_receivemoney +
                ", contract_tax='" + contract_tax + '\'' +
                ", contract_invoice=" + contract_invoice +
                ", contract_comment='" + contract_comment + '\'' +
                ", contract_enterday=" + contract_enterday +
                ", employee_id=" + employee_id +
                ", contract_part=" + contract_part +
                ", customer=" + customer +
                ", orders=" + orders +
                ", contract_status=" + contract_status +
                '}';
    }
}
